package com.itfreer.data.syn.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

import com.itfreer.form.api.entity.EntityBase;

/**
 * 数据同步配置表
 */
@Entity(name = "data_syn_config")
public class DataSynConfigEntity extends EntityBase implements Serializable {

	private static final long serialVersionUID = -2696621711239778698L;

	/**
	 * 主键
	 */
	@Id
	@Column(name = "id", length = 50, nullable = false)
	private String id;

	/**
	 * 配置名称
	 */
	@Column(name = "s_name", length = 50, nullable = false)
	private String name;

	/**
	 * 表信息
	 */
	@Column(name = "s_table", length = 50, nullable = true)
	private String table;

	/**
	 * 同步接口类型
	 */
	@Column(name = "s_type", length = 50, nullable = true)
	private String type;

	/**
	 * 参数
	 */
	@Column(name = "s_para", length = 200, nullable = true)
	private String para;

	/**
	 * 排序值
	 */
	@Column(name = "i_order", nullable = true)
	private Integer order;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTable() {
		return table;
	}

	public void setTable(String table) {
		this.table = table;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getPara() {
		return para;
	}

	public void setPara(String para) {
		this.para = para;
	}

	public Integer getOrder() {
		return order;
	}

	public void setOrder(Integer order) {
		this.order = order;
	}
}
